* {
    box-sizing: border-box;
}

body {
    font-size: 15px;
    font-family: Microsoft YaHei,Arial;
    background: #f8f8f8;
}
body, h1, h2, h3, h4, h5, p, ul, li, ol {
    margin: 0;
    padding: 0;
    list-style: none;
}
.bi::before {
    display: inline-block;
    content: "";
    vertical-align: -.125em;
    background-image: url("data:image/svg+xml,<svg viewBox='0 0 16 16' fill='%23333' xmlns='http://www.w3.org/2000/svg'><path fill-rule='evenodd' d='M8 9.5a1.5 1.5 0 1 0 0-3 1.5 1.5 0 0 0 0 3z' clip-rule='evenodd'/></svg>");
    background-repeat: no-repeat;
    background-size: 1rem 1rem;
}
a{
    text-decoration: none;
}
/*布局*/
.dl-row {
    display: flex;
    flex-direction: row; }

.dl-row-sb {
    display: flex;
    flex-direction: row;
    justify-content: space-between; }

.dl-row-sa {
    display: flex;
    flex-direction: row;
    justify-content: space-around; }

.dl-row-end {
    display: flex;
    flex-direction: row;
    justify-content: flex-end; }

.dl-column {
    display: flex;
    flex-direction: column; }

.dl-column-sb {
    display: flex;
    flex-direction: column;
    justify-content: space-between; }

.dl-column-sa {
    display: flex;
    flex-direction: column;
    justify-content: space-around; }

.dl-column-end {
    display: flex;
    flex-direction: column;
    justify-content: flex-end; }

.center {
    align-items: center; }

.start {
    align-items: flex-start; }

.end {
    align-items: flex-end; }


.mar-top{
    margin-top: 30px;
}


/*PC导航*/
.top-head{
    width: 100%;
    background: #081934;
    height: 40px;
}
.top-banner,.top-ph{
    position: fixed;
    top:0;
    z-index: 99999;
    width: 100%;
}
.top-pc{
    height: 100px;
}

.head-out{
    width: 100%;
    height: 60px;
    background: #ffffff;
    box-shadow: 5px 0 20px rgba(0,0,0,0.1);
}
.top-head .main-box{
    height: 40px;
}
.head-out .main-box{
    height: 60px;
}
.main-box{
    width: 80%;
    margin: 0 auto;
}
.nav{
    margin-top: -4px;
}
.nav a,.link a{
    padding: 5px 0;
    position: relative;
    font-size: 14px;
    color: #8c8f97;
    margin: 0 15px;
    text-decoration: none;
}
.link a:first-child{
    padding-left: 0;
    margin-left: 0;
}
.nav a:hover{
    color: #ffffff;
}
.nav .active{
    border-bottom: 1px solid #ffffff;
    color: #ffffff;
}
.link a:hover{
    color: #ffffff;
}
.index-box{
    position: relative;
    padding-top: 10px;
}
.mao{
    position: relative;
    top: -110px;
    display: block;
    height: 0;
    overflow: hidden;

}
.user-box-on span{
    font-size: 14px;
    color: #999;
    margin-right: 20px;
}
.user-box-on img{
    cursor: pointer;
    width: 44px;
    height: 44px;
}
.search-box{
    width: 800px;
    margin: 0 auto;
}
.search-box .input-group-lg > .form-control:not(textarea), .input-group-lg > .custom-select{
    height: 44px;
    border: 0;
}
.search-box .form-control::-webkit-input-placeholder{
    font-size: 14px;
    color: #999;
}
.search-box .form-control{
    font-size: 14px;
    color: #333;
}
.search-box .btn{
    background: #f2d21f;
    height: 44px;
    border: none;
}
.search-box img{
    margin: 35px 0 10px 0;
}
/*手机导航*/
.head-out-ph .main-box{
    height: 60px;
    padding: 0 15px;
    position: relative;
    z-index: 99;
}
.top-ph .logo{
    height: 34px;
}

.head-out-ph{
    width: 100%;
    height: 60px;
    background: rgba(255,255,255,0.88);
}
.head-out-ph img{
    height: 38px;
}


.one-class{
    width: 80%;
    margin-top: 15px;
}
.one-class li{
    font-size: 16px;
    color: #fff;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
    padding: 8px 15px;
    width: 110px;
    text-align: center;
    cursor: pointer;
    position: relative;
}
.one-class li:hover,.one-class .active{
    background: rgba(255,255,255,1);
    color: #3369e7;
    font-weight: bold;
}
.one-class .active:after{
    content:'';
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 8px solid #ffffff;
    position: absolute;
    bottom: -8px;
    left: 50%;
    margin-left: -10px;
}
.input-group img{
    margin: 0 auto;
}
.search-box .input-group-lg > .input-group-append > .btn{
    padding: 0.5rem 2rem;
}
.search-box .input-group-lg > .input-group-append > .btn:hover{
    background: #f2be1f;
}


.logo{
    margin-right: 40px;
}

.main-right-box{
    width: calc(100% - 130px);
}
.left-nav a{
    position: relative;
    display: inline-block;
    line-height: 40px;
}
.left-nav .active:after{
    content: '';
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid #3369e7;
    position: absolute;
    left: 50%;
    margin-left: -5px;
    bottom: 0;

}
.left-nav .active,.left-nav a:hover{
    color: #3369e7;
    text-decoration:none;
    border-bottom: 2px solid #3369e7;

}
.left-nav a{
    font-size: 14px;
    color: #333;
    cursor: pointer;
    margin-left: 30px;
}
.left-nav li{
    line-height: 60px;
}
.main-list h1{
    font-size: 16px;
    line-height: 40px;
}
.main-list ul{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.main-list ul li{
    display: block;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 3px 0 15px rgba(0,0,0,0.05);
    padding: 10px 10px 10px 15px;
    width: 15.6%;
    margin-right: 1%;
    margin-bottom: 20px;
    color: #333;
}
.first-list{
    padding-top: 40px;
}
.main-list{
    margin-right: -1%;
}
.main-list ul li{
    position: relative;
}
.main-list ul li:hover{
    /*box-shadow: none;*/
    background-image: linear-gradient(to bottom,#f5f5f5,#ffffff);
}
.main-list ul li:hover .name h5{
    text-decoration: underline;
}
.main-list ul li>a{
    position: relative;

}
.main-list ul li>a:hover{
    text-decoration: none;
}
.main-list ul li img{
    width: 30px;
    height: 30px;
    margin-right: 10px;
    border-radius: 100px;
}
.main-list ul li .name{
    font-size: 16px;
    color: #1a1a1a;
    width: calc(100% - 50px);
}
.main-list ul li .name h5{
    margin-right: 5px;
    font-size: 15px;
}
.main-list ul li .name p{
    font-size: 12px;
    color: #999;
    margin-top: 2px;
    overflow: hidden;
    text-overflow:ellipsis;
    white-space: nowrap;
    width: 100%;
    text-align: left;
}
.main-list ul li .top{
    position: absolute;
    top:2px;
    right: 10px;
}
.main-list ul li .top .collection{
    width: 17px;
    height: auto;
    margin-right: 0;
    cursor: pointer;
}
.tag{
    background: #f1f1f1;
    border-radius: 2px;
    color: #999;
    font-size: 12px;
    padding: 2px 5px;
    margin-right: 5px;
}
.main-list ul li .down{
    width: 26px;
    height: 26px;
    margin-right: 0;
}
.main-list ul li .down-box{
    width: 26px;
    height: 26px;
    border-radius: 100px;
}
.main-list ul li .down-box:hover{
    background: #e8ebf3;
    cursor: pointer;
}

.foot{
    margin-top: 30px;
    background: #081934;
    color: #8c8f97;
    width: 100%;
    padding: 20px 0;
    font-size: 14px;
}

.foot-text a{
    position: relative;
    margin-right: 30px;
    color: #8c8f97;
}

.foot-text span{
    margin-right: 30px;
}

.foot-text a:after{
    content: '';
    width: 1px;
    height: 12px;
    background: #8c8f97;
    position: absolute;
    right: -15px ;
    top:50%;
    margin-top: -6px;
}
.foot-text a:last-child:after{
    display: none;
}
.foot-text {
    margin-bottom: 10px;
}
.main-list .second .dropdown-menu{
    padding: 0.5rem;
    width: 100%;
    border: none;
    box-shadow: 3px 0 15px rgba(0,0,0,0.05);
}
.main-list .second .dropdown-menu .dropdown-item{
    line-height: 30px;
    color: #333;
}
.main-list .dropdown-toggle::after{
    display: none;
}

.us-box{
    width: 1200px;
    margin: 70px auto;
    background: #ffffff;
    border-radius: 5px;
    box-shadow: 3px 0 15px rgb(0 0 0 / 5%);
    padding: 50px;
}
.about-us{
    width: 100%;
    border: 10px solid #3369e7;
    background:url(../img/topleft.png) left top no-repeat,
                url(../img/bottomright.png) bottom 20px right 20px no-repeat;
    padding: 30px;
}
.about-us .text{
    margin: 60px 50px 20px 20px;
}
.about-us .text h1{
    font-size: 28px;
    margin-bottom: 15px;
    margin-top: 10px;
}
.about-us .text p{
    font-size: 15px;
    line-height: 30px;
}
.tell-us{
    padding: 30px 0 0 60px;
}
.tell-us h1{
    font-size: 28px;
    margin-bottom: 15px;
    margin-top: 10px;
}
.tell-us p{
    font-size: 15px;
    line-height: 30px;
}


/*手机端分类导航*/
.top-ph .top-head,.top-ph .top-head .main-box{
    height: 60px;
}
.nav-ph{
    position: relative;
    background-color: #fff;
    height: 42px;
    box-shadow: 5px 0 20px rgb(0,0 ,0,0.1);
}
.nav-ph-list{
    overflow: hidden;
    overflow-x: scroll;
    white-space: nowrap;
    display: flex;
    height: 44px;
    align-items: center;
}
.nav-a {
    color: #505050;
    text-decoration: none;
    font-size: 14px;
    margin:  0px;
    padding: 0 10px;
    line-height: 28px;
    display: inline-block;
    width: auto !important;
    height: 100%;
    overflow: hidden;
    position: relative;
    text-align: center;
}
.nav-a a{
    line-height: 40px;
    color:#333
}
.nav-a a:hover{
    text-decoration: none;
}
.selected .underLine{
    width:15px;
    height: 1px;
    background: #FFF;
    bottom:0px;
    left:0px;
    right:0px;
    margin:auto;
}
.selected,.nav-a:hover{
    color: #3369e7;
    border-bottom: 2px solid #3369e7;
}
.selected a,.nav-a a:hover{
    color: #3369e7;
}
/*.selected:after{*/
/*    content: '';*/
/*    width: 0;*/
/*    height: 0;*/
/*    border-right: 8px solid transparent;*/
/*    border-bottom: 5px solid #3369e7;*/
/*    border-left: 8px solid transparent;*/
/*    position: absolute;*/
/*    bottom: 0;*/
/*    left: 50%;*/
/*    margin-left: -4px;*/

/*}*/
.swiper-container{
    height: 44px;
}
#nav-ph .bar .color{
    width: 15px;
    margin: 0 auto;
    height: 1px;
    background: #3369e7;
}
#nav-ph .bar {
    width: 50px;
    height: 3px;
    position: absolute;
    bottom: 6px;
}
.nav-ph-a span{
    line-height: 44px;
}
::-webkit-scrollbar {
    width: 0px;
    height: 0px;
}
.goTop >img{
    width: 50px;
    height: 50px;
    cursor: pointer;
}
.goTop{
    position: fixed;
    right : 20px;
    bottom : 20px;
    display: none;
}

.tab-box{
    padding: 10px 0;
    position: fixed;
    z-index: 99;
}
.tab-box ul a{
    background: #d9d9d9;
    color:#1a1a1a;
    padding: 5px 15px;
    border-radius: 50px;
    margin-right: 10px;
}
.tab-box ul a:hover{
    background: #3369e7;
    color: #ffffff;
    text-decoration: none;

}
.tab-box .active{
    background: #3369e7;
    color: #ffffff;
    text-decoration: none;
}
.shop-box{
    position: fixed;
    right: 20px;
    bottom: 78px;
}
.shop-box >img{
    width: 50px;
    height: 50px;
    cursor: pointer;
}

/*pc自适应*/
@media (min-width: 1160px) {
    .top-pc{
        display: block;
    }
    .top-ph{
        display: none;
    }
}
@media (max-width: 1560px) {
    .main-list ul li{
        width: 19%;
        margin-right: 1%;
        margin-bottom: 20px;
    }
    .main-box{
        width: 1200px;
        padding:0 30px;
    }
    .main-list{
        margin-right: -1%;
    }

}
@media (max-width: 1160px) {
    .main-list ul li{
        width: 23.5%;
        margin-right: 1.5%;
        margin-bottom: 20px;
    }
    .main-list{
        margin-right: -1.5%;
    }
    .top-pc{
        display: none;
    }
    .top-ph{
        display: block;
    }
    .main-box{
        width: 100%;
        padding:0 30px;
    }

}

@media (max-width: 960px) {
    .main-list ul li{
        width: 48%;
        margin-right: 2%;
        margin-bottom: 20px;
    }
    .main-list{
        margin-right: -2%;
    }
    .main-box{
        width: 100%;
        padding:0 30px;
    }
    .logo{
        margin: 0;
    }
    .nav a{
        margin-right: 5px;
    }
    .my-img{
        width: 100%;
    }
}


/*手机端*/

@media (max-width: 768px) {
    .tab-box{
        display: none;
    }
    .main-list{
        padding-top: 0;
    }
    .head-out {
        display: none;
    }
    .head-out-ph {
        display: block;
    }
    .search-box{
        width: 90%;
        margin: 0 auto;
    }
    .search-box img{
        width: 100%;
    }
    .search-box .input-group-lg > .input-group-append > .btn{
        padding: 0.5rem 1rem;
    }
    .one-class{
        width: 100%;
        margin-top: 10px;
    }
    .one-class li{
        font-size: 14px;
        width: auto;
    }
    .top-banner{

    }
    .search-box img{
        margin-top: 25px;
    }
    .input-group img{
        margin: 0 auto;
    }

    .main-list ul li{
        width: 100%;
        margin-bottom: 20px;
    }

    .left-nav{
        display: none;
    }
    .main-right-box{
        width: 100%;
    }
    .main-box{
        padding: 0 15px;
    }
    .mar-top{
        margin-top: 15px;
    }
    .foot .foot-logo{
        display: none;
    }
    .foot{
        font-size: 12px;
    }
    .foot .left {
        display: flex;
        flex-direction: column;
        margin-right: 15px;
    }
    .foot-ph .foot-text span {
        margin-bottom: 10px;
        margin-right: 0;
        font-size: 12px;
    }
    .foot .left img{
        margin-bottom: 10px;
    }
    .us-box{
        width: 90%;
        margin: 80px auto 20px auto;
        background: #ffffff;
        border-radius: 5px;
        box-shadow: 3px 0 15px rgb(0 0 0 / 5%);
        padding: 15px;
    }
    .about-us{
        padding: 15px;
        width: 100%;
        border: 8px solid #3369e7;
        background-size: 60px 50px;

    }
    .about-us .text {
        margin: 40px 0 20px 10px;
    }
    .about-us .dl-row-sb{
        display: flex;
        flex-direction: column;
    }
    .about-us .text h1,.tell-us h1{
        margin-bottom:5px ;
    }
    .tell-us{
        padding: 15px 0 0 24px
    }
    .left-nav-ph{
        width: 100%;
        z-index: 999;
    }

    .index-box{
        padding-top: 110px;
    }
    .beian{
        display: flex;
        flex-direction: column;
    }

}


@media (min-width: 768px){

    .foot .logo{
        display: none;
    }

    /*.head-out-ph {*/
    /*    display: none;*/
    /*}*/
    /*.foot-ph {*/
    /*    display: none;*/
    /*}*/
    /*.left-nav-ph{*/
    /*    display: none;*/
    /*}*/

}















